package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "food")
public class FoodMp {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "美食id")
    private int fid;
    @ApiModelProperty(value = "美食名字")
    private String foodname;
    @ApiModelProperty(value = "美食介绍")
    private String foodintroduce;
    @ApiModelProperty(value = "美食热度")

    private String foodhot;
    @ApiModelProperty(value = "美食图片")
    private String fpicture;
    @ApiModelProperty(value = "有关餐厅")
    @TableField(exist = false)
    private List<Foodrestaurant> foodrestaurant;






}
